diff options
| author | Adam Soltys <[email protected]> | 2022-07-30 11:50:42 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-07-30 11:50:42 -0700 |
| commit | ef3bd2f6687d0bfca1b85cc3f4be47c8e628c748 (patch) | |
| tree | 5fdbecf4ae6784baf7593d574a4342f0749f19c3 /src/routes/invoice/[id].js | |
| parent | e183a44d5447037ea807698b08d5a9497891628b (diff) | |
| download | coinos-ui-ef3bd2f6687d0bfca1b85cc3f4be47c8e628c748.tar.gz coinos-ui-ef3bd2f6687d0bfca1b85cc3f4be47c8e628c748.zip | |
invoice updates
Diffstat (limited to 'src/routes/invoice/[id].js')
| -rw-r--r-- | src/routes/invoice/[id].js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/routes/invoice/[id].js b/src/routes/invoice/[id].js index 37ef098d..7d18ba86 100644 --- a/src/routes/invoice/[id].js +++ b/src/routes/invoice/[id].js @@ -5,7 +5,9 @@ const username = 'bob', export async function GET({ params }) { let { id } = params; - let { amount, text } = await get(`/invoice?uuid=${id}`); + let huh = await get(`/invoice?uuid=${id}`); + console.log(huh) + let { amount, rate, text } = await get(`/invoice?uuid=${id}`); - return { body: { amount, text } }; + return { body: { amount, rate, text } }; } |
